package com.gopay.remote.bank.autoroute;

import com.gopay.common.domain.bis.BaseBisBankExtConfig;
import com.gopay.common.domain.bis.RouteMessage;
import com.gopay.common.exception.GopayException;

/**
 * 自动路由获取银行渠道
 * 
 * @BankRoute.java
 * @author zhengxue
 * @2016-9-28 下午1:29:34 www.gopay.com.cn Inc.All rights reserved.
 */
public interface BankRoute {
    /**
     * 收款自动路由获取银行渠道信息
     * 
     * @param routeMessage
     * @return
     * @throws GopayException
     */
    public BaseBisBankExtConfig getRoute(RouteMessage routeMessage) throws GopayException;

    /**
     * 获取通用方案银行渠道信息
     * 
     * @param routeMessage
     * @return
     * @throws GopayException
     */
    public BaseBisBankExtConfig getNormalRoute(RouteMessage routeMessage) throws GopayException;
}
